/*!
 * Copyright 2019 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
@import "../styles/colors";

.storefront {
  height: 100%;
  width: 100%;
  padding: 10px;

  .storefront-header {
    .store-logo {
      width: 50px;
      height: 50px;
      border-radius: 6px;
      margin-right: 10px;
    }

    .store-name {
      font-size: 16px;
    }

    .store-star-level {
      font-size: 12px;
      color: $sub-color;
    }

    .unfollow-store-button {
      background: transparent;
      border: 1px solid $border-color;
      color: $title-color;
    }
  }

  .storefront-search-input {
    display: flex;
    align-items: center;
    font-size: 16px;
    padding: 6px;
    margin: 14px 0;
    border-radius: 2em;
    background: #fff;
    color: $content-color;

    span {
      margin-left: 6px;
    }
  }

  .storefront-custom-collections {
    .storefront-custom-collection {
      color: #4a4a4a;
      border-radius: 10px;
      padding: 10px;
      margin-bottom: 10px;
      background: #fff;

      .custom-collection-name {
        font-size: 18px;
      }

      .custom-collection-children {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: auto;
        grid-gap: 10px;
        margin-top: 10px;

        span {
          background: #F2F2F2;
          padding: 10px 6px;
          border-radius: 4px;
        }
      }
    }
  }
}
